_Show Scheduled Calendar Events
(17 actions, 16 KB)
0 Run Shortcut
Get Relative Date Text
»
Input
:
[Shortcut Input]
Workflow
:
{ "workflowIdentifier": "A9060DBB-1939-49E3-AA63-7FE68348E04B", "workflowName": "Get Relative Date Text", "isSelf": false }
1 Translate
[0 Shortcut Result]
from
en_US
to
zh_TW
»
6
14
2 Dictionary »
{ "date": "
[Shortcut Input]
", "calType": "scheduled" }
3 Run Shortcut
Get Sorted Calendar Action Items
➔ calEvents
»
4
5
7
Input
:
[2 Dictionary]
Workflow
:
{ "workflowIdentifier": "BD7F270F-75FA-40CB-87E5-60364F70FA9F", "workflowName": "Get Sorted Calendar Action Items", "isSelf": false }
4 If
[3 calEvents]
has any value
NumberValue
:
1
5 Count Items in
[3 calEvents]
»
6 Text »
12
📅
[1 Translated Text]
行事曆上有
[5 Count]
個行程
7 Repeat with Each in
[3 calEvents]
8 Get
Start Date
of Calendar Events
[Repeat Item]
»
10
9 Get
End Date
of Calendar Events
[Repeat Item]
»
10 Text
➔ ""
[8 Start Date
{"Date Style":"None","WFISO8601IncludeTime":false,"Time Style":"Short"}
]
~
[9 End Date
{"Date Style":"None","WFISO8601IncludeTime":false,"Time Style":"Short"}
]
:
[Repeat Item]
11 End Repeat with Each »
12 Choose from List
[11 Repeat Results]
ChooseFromListActionPrompt
:
[6 Text]
ChooseFromListActionSelectMultiple
:
true
13 Otherwise ▵
4
14 Text »
📅
[1 Translated Text]
還未安排任何行事曆事項
15 Show Alert
[14 Text]
AlertActionCancelButtonShown
:
false
16 End If